package LearnDataStructure.b_散列结构;

/**
 * @version: 1.0
 * @Author: wuqiu
 * @date: 2023-07-04 10:33
 * @description: LeetcodeLearnAlgorithm -> LearnDataStructure.a_线性结构.栈
 */
public class useNode<K, V> {
    public K key;
    public V value;
    public useNode<K, V> pre;
    public useNode<K, V> next;

    public useNode(K key, V value) {
        this.key = key;
        this.value = value;
    }

    public useNode() {
    }

    @Override
    public String toString() {
        return "useNode{" +
                "key=" + key +
                ", value=" + value +
                ", pre=" + pre +
                ", next=" + next +
                '}';
    }
}
